<?php echo $this->doctype(); ?>
<html xmlns="http://www.w3.org/1999/xhtml" lang="ru">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>Creammag</title>
  <script src="/javascript/jquery-1.4.2.min.js" type="text/javascript"></script>
 
<?php
  echo $this->headLink()->appendStylesheet('/style/rcss.css');
  echo $this->headStyle();
  echo "\t\n";
  echo $this->headLink()->appendStylesheet('/style/main.css');
  echo $this->headStyle();
  echo "\t\n";
  $this->jQuery()->setRenderMode(ZendX_JQuery::RENDER_JAVASCRIPT | ZendX_JQuery::RENDER_JQUERY_ON_LOAD);
  $this->jQuery()->setLocalPath('/javascript/jquery-1.4.2.min.js');
  $this->jQuery()->enable();
  $jquery = $this->jQuery();
  $jqHandler = ZendX_JQuery_View_Helper_JQuery::getJQueryHandler();
  $function = '';
  if($jqHandler == '$') $jqHandler = '';
  $jquery->addOnload($jqHandler . $function);
  echo $this->jQuery();
  echo "\t\n";
  echo $this->headScript();
?>
<style type="text/css">
    /*@import url("/style/main.css");*/
</style>
</head>
<body>
<?php echo $this->layout()->content; ?>
    <div class="clear" style="height:20px;"></div>
<?php echo $this->render('footer.tpl'); ?>
</body>
</html>